<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div class="top-nav">
	<div class="bd">
		<div class="top-nav-info">
			<s:if test="#session.current_userinfo!=null">
				欢迎你,${session.current_userinfo.username}！
				<a href="<s:url value="/account/user/loginout.action" />">退出</a>
			</s:if>
			<s:else>
				<a href="<s:url value="/account/user/login.action" />" rel="nofollow">登录</a> <a href="<s:url value="/account/user/reg.action" />">注册</a>
			</s:else>
		</div>
		<div class="top-nav-items">
			<ul>
				<li class="on"><a href="<s:url value="/home.action" />">读书</a></li>
				<li><a href="">小组</a></li>

				<li class="top-nav-more"></li>
			</ul>
		</div>
	</div>
</div>

